import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2022-11-04
 * Time: 15:12
 */
public class Test {
    public static void main(String[] args) {
//        String str = "一123个汉字";
//        //Scanner scanner = new Scanner(System.in);
//        //一个汉字在String中是一个字符
//        char ch = str.charAt(2);
//        System.out.println(ch);
        label1:
        for (int i = 0; i < 10; i++) {
            label2:
            for (int j = 0; j < 10; j++) {
                if (j == 2){
                    System.out.println("跳出去了");
                    break label2;
                }
            }
            System.out.println("反复横跳！");
        }

    }
}
